import { ref } from 'vue'
import { defineStore } from 'pinia'

const useChat = defineStore('chat', () => {
  const question = ref('')
  const setQuestion = (q) => {
    question.value = q
  }
  return { question, setQuestion }
})

export default useChat
